<template>
  <div class="page-content">
    <!-- 表格顶部区域开始 -->
    <MainTable :columns="columns"></MainTable>
    <!-- 表格顶部区域结束 -->
  </div>
</template>

<script>

import MainTable from '../../components/ProcessingPlantManagement/supplierManagement/MainTable.vue';

export default {
  name: "MaterialSupplier",
  components:{
    MainTable,
  },
  data() {
    return {
      // 数据总条数
      total: 0,
      // 当前页码,
      pageNum: 1,
      // 每页显示总条数
      pageSize: 10,
      // 总数据
      allList: [],
      // 表头数据
      columns:[
        { name: "供应商id", show: true, prop: "id" },
        { name: "供应商名称", show: true, prop: "name" },
        { name: "经营类别", show: true, prop: "manageType" },
        { name: "联系人", show: true, prop: "contacts" },
        { name: "联系方式", show: true, prop: "contactWay" },
        { name: "地址", show: true, prop: "address" },
      ]
    };
  },
};
</script>